package com.ydkj.a37e_mall.Classes.Model.Request;

import android.util.Log;

import com.ydkj.a37e_mall.Resource.Utils.Rsa;

import java.security.PrivateKey;
import java.util.PriorityQueue;

/**
 * Created by Administrator on 2017/3/2.
 */

public class UpdataStore {
    private String uuid;
    private String stats;
    private String secret;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getStats() {
        return stats;
    }

    public void setStats(String stats) {
        this.stats = stats;
    }

    public String urlString() {
        return "store/update/";
    }

    public String getSecret() {

        String string = "uuid=" + uuid + "&stats=" + stats;
        try {
            Rsa rsa = new Rsa();
            secret = rsa.encryptByPublic(string);
        } catch (Exception e) {
            e.printStackTrace();
        }
        Log.e("ssss", "修改审核中门店_source===>" + string);
        return secret;
    }
}
